package com.FH.applyFrom.contract;
import com.FH.util.ResultDTO;
/**
 * Created by acer on 2016/7/15.
 */
public interface ContractDAO {

    //查询合同
    public ResultDTO getContractInfo(String search, String page, String size);

    //链表部门表查询合同
    public ResultDTO getContractsInfo(String contract_id,String page,String size);

    //增加合同
    public ResultDTO addContractInfo(ContractPullDTO  contractPullDTO);

    //更新合同
    public ResultDTO updateContractInfo(ContractPullDTO  contractPullDTO);

    //删除合同
    public ResultDTO deleteContractInfo(ContractPullDTO contractPullDTO);
}
